package com.qys.livesMall.finance.model.dto;

import com.qys.livesMall.common.message.QysLang;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @menu RWHandle
 * @date 2023/07/31 17:55
 */
@Data
@Accessors(chain = true)
public class RWHandle {

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 交易流水号
     */
    private Long serialNumber;

    /**
     * 发生金额
     */
    private BigDecimal amountIncurred;

    /**
     * 业务编码
     */
    private String businessNo;

    /**
     * 备注
     */
    private String description;
    /**
     * @LINK PayMethod
     * 支付方式
     */
    private String payMethod;


    /**
     * 处理结果
     */
    private boolean success =false;

    /**
     * 备注
     */
    private QysLang message;

    public boolean getSuccess() {
        return this.success;
    }
}

